<?php
require '../php/Huluxia.php';
$hlx = new Huluxia($_COOKIE['key']);
$result = $hlx->createComment($_REQUEST['post_id'],$_REQUEST['comment_id'],$_REQUEST['detail']);
echo json_encode($result);